[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 4 Jul 2024 19:53:20 +0000 (21:53 +0200)
committerAurelien Jarno <aurel32@debian.org>
Thu, 4 Jul 2024 19:53:20 +0000 (21:53 +0200)
commitaa202f29ee22c7ded0a1a8e3e2792e4d036f2686
treec3b49eb768a8f13c0f1b64a10fa18c6a4f9167b5
parent90b711ee7954d7fada6748e350c1e2aa81b10920
[PATCH] Workaround to add IPv6 support to getifaddrs

ifreq only contains sockaddr structures, which are not big enough for
IPv6 addresses. This takes another, ugly, approach, by parsing fsysopts
/servers/socket/2 options...

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ifaddrs_v6.diff
sysdeps/mach/hurd/ifaddrs.c [new file with mode: 0644]